package dormouse.vfs.ui.actions;

import java.awt.event.ActionEvent;
import java.awt.event.ItemEvent;

import javax.swing.Icon;

import org.jdesktop.swingx.action.AbstractActionExt;

/**
 * This tasks is responsible for opening a file.
 */
public class OpenFileAction extends AbstractActionExt {


	/**
	 * 
	 */
	private static final long serialVersionUID = 8414420133068775854L;

	/**
	 * @param name
	 */
	public OpenFileAction() {
		super("Open");
		// TODO Auto-generated constructor stub
	}

	/**
	 * Constructor.
	 * @param name The name of the file
	 * @param icon the icon for the file.
	 */
	public OpenFileAction(String name, Icon icon) {
		super(name, icon);
	}

	/**
	 * Constructor.
	 * @param name The name of the file
	 * @param command The command key for the action
	 */
	public OpenFileAction(String name, String command) {
		super(name, command);
	}

	/**
	 * Constructor.
	 * @param name The name of the file
	 * @param command The command key for the action
	 * @param icon The icon for the file
	 */
	public OpenFileAction(String name, String command, Icon icon) {
		super(name, command, icon);
	}

	@Override
	public void itemStateChanged(ItemEvent e) {
		// TODO Auto-generated method stub

	}

	@Override
	public void actionPerformed(ActionEvent e) {
		// TODO Auto-generated method stub

	}

}
